package cn.tedu.order.mapper;

import cn.tedu.order.entity.Order;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import feign.Param;

public interface OrderMapper extends BaseMapper<Order> {
    void create(Order order);

    void insertFrozen(Order order ); //表示插入冻结订单
    void updateStatus(@Param("orderId") Long orderId, @Param("status") Integer status); //修改订单状态 0  1
    //删除方法 deleteById(orderId) 从通用BaseMaper继承
}
